package com.lsc.www.day09.hm;

import java.util.Scanner;

public class h1 {
    public static void main(String[] args) {

        System.out.println("输入学生的成绩：");
        Scanner sc = new Scanner(System.in);
        int score = sc.nextInt(); // 成绩

        if (score >= 90){
            System.out.println("成绩优秀");
        }else if (score>=80){
            System.out.println("成绩良好");
        }else if (score>=60&&score<80){
            System.out.println("成绩及格");
        }else if (score<60){
            System.out.println("成绩不合格");
        }
    }
}
